<template>
  <div class="my-box">
    <div>{{ onlyData }}</div>
    <button @click="getMyName">获取minixs方法</button>
  </div>
</template>

<script setup lang="ts">
// 编写个人业务
</script>

<!-- 将ts 代码或者ts代码混入进来 -->
<script lang="ts">
import mixins from './mixins'
export default {
  mixins: [mixins],
}
</script>
<style scoped>
.my-box {
  display: flex;
}
/* 支持CSS变量注入v-bind(color) */
</style>
